package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDTO;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveService extends IService<AdSensitive> {

    //敏感词查询
    public ResponseResult list(SensitiveDTO dto);

    //敏感词添加
    public ResponseResult insert(AdSensitive adSensitive);

    //敏感词修改
    public ResponseResult update(AdSensitive adSensitive);

    //敏感词删除
    public ResponseResult delete(Integer id);

    //查询所有敏感词,只要单独的敏感词本身
    ResponseResult selectAllSensitives();
}